#!/bin/bash

i=0
tmp_line=$(cat a.txt)
while [ $i -lt 20 ]
do
    echo ${tmp_line} >> a.txt
    i=$((i+1))
done
